import request from "@/utils/request.js";

/**
 * 获取聊天群组
 */
export function chatGroup(params) {
  return request.get('/customer/chatGroup/member/page', params,
      {noAuth: false});
}

/**
 * 关闭消息组
 * @param params
 * @returns {*}
 */
export function closeGroup(params) {
  return request.post('/customer/chatGroup/closeChatGroup', params,
      {noAuth: false});
}